package com.demo.bean.mapper.user;

import com.demo.common.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
/**
 * 用户
 * 作者：张佑威
 */
@Mapper
@Repository
public interface UserMapper {
    @Select("select * from user")
    List<User> selectAll();
}
